//swiper 图片轮播
    var swiper = new Swiper('.swiper-container1', {
      slidesPerView: 5,
      spaceBetween: 10,
      slidesPerGroup: 1,
      initialSlide :1,
      pagination: {
        el: '.swiper-pagination',
        clickable: true,
      }
    }); 
    //侧边栏滚动
EventUtil.addHandler(window,"scroll",function(event){
     this.scrollElement=document.getElementsByClassName("scroll")[0];
      this.scrollTop = window.pageYOffset || document.documentElement.scrollTop ||document.body.scrollTop;
    console.log(this.scrollElement)
     if(this.scrollTop>=700){
        this.scrollElement.classList.add("tofixed");
     } else{
        this.scrollElement.classList.remove("tofixed");
     } 
        
});  